package com.cc.demo.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Table("comment_book")
public class Message {
       @Id(keyType = KeyType.Auto)
       private Long id;
       private String nickname;
       private String email;
       private String content;
       private LocalDateTime createTime;
       private String createIp;
       private LocalDateTime updateTime;
       private String updateIp;
       private Boolean status;
       @Column(isLogicDelete = true)
       private Boolean delete;


}
